package com.springboot.demo;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 课本
 *
 * @author supu
 * @date 2019-07-24 9:56
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Book implements Serializable {

    private static final long serialVersionUID = -4861445364356803601L;

    private Integer id;
    private String name;
    private Integer type;
    private String remark;

    public Book(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
